package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 易告知对象 easy
 * 
 * @author ruoyi
 * @date 2023-03-04
 */
public class Easy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 易告知id */
    private Long easyId;

    /** 公司名称 */
    private Long companyId;

    @Excel(name = "公司名称")
    private String companyName;
    /** 邮件内容 */
    @Excel(name = "邮件内容")
    private String emailContent;

    /** 邮件主题 */
    @Excel(name = "邮件主题")
    private String emailTheme;

    /** 发送间隔 */
    @Excel(name = "发送间隔")
    private String sendInterval;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 假删除状态 */
    private Long fakeDelete;

    public void setEasyId(Long easyId) 
    {
        this.easyId = easyId;
    }

    public Long getEasyId() 
    {
        return easyId;
    }
    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }
    public void setEmailContent(String emailContent) 
    {
        this.emailContent = emailContent;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getEmailContent()
    {
        return emailContent;
    }
    public void setEmailTheme(String emailTheme) 
    {
        this.emailTheme = emailTheme;
    }

    public String getEmailTheme() 
    {
        return emailTheme;
    }
    public void setSendInterval(String sendInterval) 
    {
        this.sendInterval = sendInterval;
    }

    public String getSendInterval() 
    {
        return sendInterval;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setFakeDelete(Long fakeDelete) 
    {
        this.fakeDelete = fakeDelete;
    }

    public Long getFakeDelete() 
    {
        return fakeDelete;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("easyId", getEasyId())
            .append("companyId", getCompanyId())
            .append("companyName", getCompanyName())
            .append("emailContent", getEmailContent())
            .append("emailTheme", getEmailTheme())
            .append("sendInterval", getSendInterval())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("fakeDelete", getFakeDelete())
            .toString();
    }
}
